package com.awenhui.demo.model.rbac;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @author yuxf
 * @version 1.0
 * @date 2020/5/6 17:10
 */
@ApiModel("添加角色模型")
@Data
public class AddRoleModel {


    @NotBlank(message = "角色名称不能为空")
    private String name;

}
